package models;

import controllers.WindowsDomainAuth;

public class Login {

	public String password;
	public String userId;

	public String validate() {

		if (WindowsDomainAuth.authenticate("active", userId, password) == null) {

			return "Invalid user or password";
		}
		return null;
	}
}